get start time and end time in python

50

get start time and end time in python -

import time
start_time = time.time()
main()
print("--- %s seconds ---" % (time.time() - start_time))

Comments

Submit
0 Comments